﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.TcCommands.TcReloadProduct.CCoTcReloadProductCmd
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using System.Windows;
using Tecnomatix.Engineering;
using Tecnomatix.Engineering.Ui;


namespace DnProcessSimulateCommands.TcCommands.TcReloadProduct;

public class CCoTcReloadProductCmd : TxButtonCommand
{
  protected CCoTcReloadProductCmdEnabler m_cmdEnabler;

  public CCoTcReloadProductCmd() => this.m_cmdEnabler = new CCoTcReloadProductCmdEnabler();

  public virtual ITxCommandEnabler CommandEnabler => (ITxCommandEnabler) this.m_cmdEnabler;

  public virtual string Name => TcReloadProductStringTable.RELOAD_PRODUCT_CMD_NAME;

  public virtual string Category => TcReloadProductStringTable.RELOAD_PRODUCT_CMD_CATEGORY;

  public virtual string Tooltip => TcReloadProductStringTable.RELOAD_PRODUCT_CMD_TOOLTIP;

  public virtual string Description => TcReloadProductStringTable.RELOAD_PRODUCT_CMD_DESCRIPTION;

  public virtual string LargeBitmap => "TcCommands.TcReloadProduct.Images.ReloadProduct_32.png";

  public virtual string Bitmap => "TcCommands.TcReloadProduct.Images.ReloadProduct_16.bmp";

  public virtual string MediumBitmap => "TcCommands.TcReloadProduct.Images.ReloadProduct_24.png";

  public virtual ITxImage Image => (ITxImage) TxImageManager.GetImageByKey("ReloadProduct");

  public virtual void Execute(object cmdParams) => ((Window) new CUiTcReloadProductDialog()).Show();
}
